gtk.supp: Update
authorTimm Bäder <mail@baedert.org>
Wed, 29 Apr 2020 08:01:53 +0000 (10:01 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 5 May 2020 06:20:10 +0000 (08:20 +0200)
Make some rules more general and add some more epoxy/mesa suppressions.

gtk.supp

index 37d6d65c08e91e4bd5c9608f6b27f430a6482ce6..87ce6d2ec67141653be55a88160ec1a5be69c5d0 100644 (file)
--- a/gtk.supp
+++ b/gtk.supp
   fun:gtk_widget_class_add_action
 }
 
+{
+   GIO modules
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:malloc
+   ...
+   fun:_g_io_module_get_default
+}
+
 {
    GTK media extension gio modules
    Memcheck:Leak
    match-leak-kinds: definite
    fun:malloc
-   fun:g_malloc
-   fun:g_slice_alloc
-   fun:g_slice_alloc0
-   fun:g_type_create_instance
-   fun:g_object_new_internal
-   fun:g_object_new_with_properties
-   fun:g_object_new
-   fun:g_io_module_new
-   fun:g_io_modules_scan_all_in_directory_with_scope
+   ...
+   fun:gio_module_new
+   ...
    fun:gtk_media_file_extension_init
 }
 
   ...
   obj:/usr/lib*/dri/radeonsi_dri.so
 }
+{
+  radeonsi_dri general
+  Memcheck:Leak
+  fun:malloc
+  ...
+  obj:/usr/lib*/dri/radeonsi_dri.so
+}
 
 # mesa driver stuff
 {
    fun:epoxy_eglInitialize_global_rewrite_ptr
 }
 
+{
+   epoxy strncmp
+   Memcheck:Addr8
+   fun:strncmp
+   ...
+   fun:epoxy_eglInitialize_global_rewrite_ptr
+}
+
 {
    mesa malloc
    Memcheck:Leak
 
 # GLib
 {
-  glib 1
+  glib GQuark
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
-  fun:g_malloc
-  fun:g_quark_init
+  ...
+  fun:g_quark_*
 }